<script>   
     const student = {   
       name: '小雅',   
       age: 19,   
    // 对象的方法定义箭头函数不适合   
       showInfo: () => {   
    setTimeout(() => {   
    console.log('我叫' + this.name + '我今年' + this.age + '岁');         
    }, 1000);   
       }   
     }   
     // 1秒后控制台输出：我叫我今年undefined岁   
     student.showInfo();   
   </script>   